import { defineOptions } from '@/util/echarts'

export default defineOptions({
  title: {
    left: 'center',
    top: 20,
    textStyle: {}
  },
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'cross',
      label: {
        backgroundColor: 'rgba(0, 0, 0, 0.7)'
      },
      lineStyle: {
        color: 'red'
      },
      crossStyle: {
        color: 'red',
        type: 'solid'
      }
    }
  },
  legend: {
    textStyle: {
      x: 'left'
    }
  }
})
